<style>
  .basemenus2_tableWidth {
    width: {{$smarty.const.PAGE_WIDTH|escape:'html'}};
    height: 28px;
    margin-bottom:20px;
	border-collapse:collapse;
  }
  .basemenus2_table1 {
    width: {{$smarty.const.PAGE_WIDTH|escape:'html'}};
    height: 33px;
    margin-bottom:20px;
    margin-top:-15px;
  }
  .basemenus2_table21 {
    height: 24px;
    margin-bottom: 20px;
  }
  .basemenus2_table3 {
    width: {{$smarty.const.PAGE_WIDTH|escape:'html'}};
    height: 33px;
    margin-top:-15px;
	border-collapse:collapse;
  }
  .basemenus2_table4 {
    border-right:solid 1px #afb4b0;
    border-bottom:solid 1px #afb4b0;
    background-color:#e6ede7;
  }
  .basemenus2_table5 {
    border-right:solid 1px #afb4b0;
    border-bottom:solid 1px #afb4b0;
    background-color:#e6ede7;
    margin-bottom:20px;
  }
  .basemenus2_standardCell {
    width: 160px;
    text-align: center;
  }
  .basemenus2_cell1 {
    text-align: left;
    vertical-align: middle;
    padding: 0 0 0 10px;
  }
  .basemenus2_cell2 {
    width: 40px;
    text-align: left;
    vertical-align: middle;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    padding: 0 0 3px 0;
  }
  .basemenus2_remainCell {
    width: 1px;
  }
  .basemenus2_remainCell1 {
    width: 1000px;
  }
  .basemenus2_remainCell2 {
    width: 580px;
  }
  .basemenus2_remainCell4 {
    width: 398px;
  }
  .basemenus2_remainCell5 {
    width: 100px;
  }
  .basemenus2_remainCell6 {
    width: 420px;
  }
  .basemenus2_div {
    vertical-align: middle;
    margin:0 0 20px 0;
  }
  .basemenus3_imageMargin {
    margin: 5px 0 0 0;
  }
</style>

{{*/*-----------------Tasks------------------------*/*}}
{{if $menu->a == 1}}
  <div align="center">
    <table class="basemenus2_tableWidth">
      <tr>
        <td {{if $menu->b == 1}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pagemanager&t=pageb1managercustomworks&m={%22a%22:1,%22b%22:1,%22c%22:1,%22d%22:1}';">
          <a href="?p=pagemanager&t=pageb1managercustomworks&m={%22a%22:1,%22b%22:1,%22c%22:1,%22d%22:1}">My Tasks</a>
          <span id="mana_tasks_jobs_span" style= "font-weight:bold;color:#fff;" ></span>
        </td>
        <td {{if $menu->b == 2}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pagemanager&t=pageb1asstworks&m={%22a%22:1,%22b%22:2,%22c%22:1}&s={%22s%22:1}';">
          <a href="?p=pageb1asstworks&t=pageb1asstworks&m={%22a%22:1,%22b%22:2,%22c%22:1}&s={%22s%22:1}">Others' Tasks</a>
        </td>
        <td {{if $menu->b == 4}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pagemanager&t=pageb1manaalltasks&m={%22a%22:1,%22b%22:4,%22c%22:1}';">
          <a href="?p=pagemanager&t=pageb1manaalltasks&m={%22a%22:1,%22b%22:4,%22c%22:1}">All Tasks</a>
        </td>
        <td {{if $menu->b == 3}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pagemanager&t=pageb1asstworks&m={%22a%22:1,%22b%22:3,%22c%22:1,%22d%22:1}&opts={%22a%22:1}';">
          <a href="?p=pagemanager&t=pageb1asstworks&m={%22a%22:1,%22b%22:3,%22c%22:1,%22d%22:1}&opts={%22a%22:1}">Overdue Tasks</a>
        </td>
        {{*/*
        <td {{if $menu->b == 5}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pagemanager&t=pagewageunverified&m={%22a%22:1,%22b%22:5,%22c%22:1}';">
          <a href="?p=pagemanager&t=pagewageunverified&m={%22a%22:1,%22b%22:5,%22c%22:1}">Confirm Wage</a>
        </td>
        */*}}
        <td></td>
      </tr>
    </table>
  </div>
  {{if $menu->b == 2}}
      <table style="width:{{$smarty.const.PAGE_WIDTH|escape:'html'}};margin-top:-15px;margin-bottom:20px;" cellPadding="0" cellSpacing="0">
        <tr>
          <td align="left">
            <table cellPadding="0" cellSpacing="0">
              <tr>
                <td {{if $supervise->s == 1}} class="basemenus2_td81Highlight" {{else}} class="basemenus2_td81" {{/if}} onclick="location.href='?p=pagemanager&t=pageb1asstworks&m={%22a%22:1,%22b%22:2,%22c%22:1}&s={%22s%22:1}'">
                  <a href="?p=pagemanager&t=pageb1asstworks&m={%22a%22:1,%22b%22:2,%22c%22:1}&s={%22s%22:1}">Manage Asst</a>
                </td>
                <td {{if $supervise->s == 2}} class="basemenus2_td81Highlight" {{else}} class="basemenus2_td81" {{/if}} onclick="location.href='?p=pagemanager&t=pageb1servworks&m={%22a%22:1,%22b%22:2,%22c%22:1}&s={%22s%22:2}'">
                  <a href="?p=pagemanager&t=pageb1servworks&m={%22a%22:1,%22b%22:2,%22c%22:1}&s={%22s%22:2}">CUS Service</a>
                </td>
                <td {{if $supervise->s == 3}} class="basemenus2_td8Highlight" {{else}} class="basemenus2_td8" {{/if}} onclick="location.href='?p=pagemanager&t=pageb1designerworks&m={%22a%22:1,%22b%22:2,%22c%22:1}&s={%22s%22:3}&opts={%22d%22:1,%22m%22:1}'">
                  <a href="?p=pagemanager&t=pageb1designerworks&m={%22a%22:1,%22b%22:2,%22c%22:1}&s={%22s%22:3}&opts={%22d%22:1,%22m%22:1}">Designer</a>
                </td>
                <td {{if $supervise->s == 4}} class="basemenus2_td81Highlight" {{else}} class="basemenus2_td81" {{/if}} onclick="location.href='?p=pagemanager&t=pageb1editorworks&m={%22a%22:1,%22b%22:2,%22c%22:1}&s={%22s%22:4}'">
                  <a href="?p=pagemanager&t=pageb1editorworks&m={%22a%22:1,%22b%22:2,%22c%22:1}&s={%22s%22:4}&opts={%22m%22:1}">Video Editing</a>
                </td>
                <td {{if $supervise->s == 5}} class="basemenus2_td81Highlight" {{else}} class="basemenus2_td81" {{/if}} onclick="location.href='?p=pagemanager&t=pageb1factoryworks&m={%22a%22:1,%22b%22:2,%22c%22:1}&s={%22s%22:5}'">
                  <a href="?p=pagemanager&t=pageb1factoryworks&m={%22a%22:1,%22b%22:2,%22c%22:1}&s={%22s%22:5}">Factory</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
      {{if $supervise->s == 3}} 
        <table style="width:{{$smarty.const.PAGE_WIDTH|escape:'html'}};margin-top:-20px;" cellPadding="0" cellSpacing="0">
          <tr>
            <td align="left">
              <table class="basemenus2_table5" cellPadding="0" cellSpacing="0" id="asst_tasks_menus_table"></table>
              </table>
            </td>
          </tr>
        </table>
      {{/if}}

          {{if $supervise->s == 4}} 
          <table style="width:{{$smarty.const.PAGE_WIDTH|escape:'html'}};margin-top:-20px;" cellPadding="0" cellSpacing="0">
            <tr>
              <td align="left">
                <table class="basemenus2_table5" cellPadding="0" cellSpacing="0" id="editor_tasks_menuse_table"></table>
                </table>
              </td>
            </tr>
          </table>
        {{/if}}    	  
     {{/if}}
  {{if $menu->b == 3}} 
    <div align="center">
      <table style="width:{{$smarty.const.PAGE_WIDTH|escape:'html'}}" cellPadding="0" cellSpacing="0">
        <tr>
          <td align="left">
            <table class="basemenus2_table21" cellPadding="0" cellSpacing="0" border=0>
              <tr style="background-color:#e6ede7;">
                <td {{if $menu->d == 1}} class="basemenus2_td8Highlight" {{else}} class="basemenus2_td8" {{/if}} onclick="location.href='?p=pagemanager&t=pageb1asstworks&m={%22a%22:1,%22b%22:3,%22c%22:1,%22d%22:1}&opts={%22a%22:1}'">
                  <a href="?p=pagemanager&t=pageb1asstworks&m={%22a%22:1,%22b%22:3,%22c%22:1,%22d%22:1}&opts={%22a%22:1}">Manage Asst</a>
                </td>
                <td {{if $menu->d == 2}} class="basemenus2_td8Highlight" {{else}} class="basemenus2_td8" {{/if}} onclick="location.href='?p=pagemanager&t=pageb1servworks&m={%22a%22:1,%22b%22:3,%22c%22:1,%22d%22:2}&opts={%22a%22:1}'">
                  <a href="?p=pagemanager&t=pageb1servworks&m={%22a%22:1,%22b%22:3,%22c%22:1,%22d%22:2}&opts={%22a%22:1}">CUS Service</a>
                </td>
                <td {{if $menu->d == 3}} class="basemenus2_td81Highlight" {{else}} class="basemenus2_td8" {{/if}} onclick="location.href='?p=pagemanager&t=pageb1designerworks&m={%22a%22:1,%22b%22:3,%22c%22:1,%22d%22:3}&s={%22s%22:0}&opts={%22a%22:1, %22d%22:1,%22m%22:1}'">
                  <a href="?p=pagemanager&t=pageb1designerworks&m={%22a%22:1,%22b%22:3,%22c%22:1,%22d%22:3}&s={%22s%22:0}&opts={%22a%22:1, %22d%22:1,%22m%22:1}">Designer
                </td>
                <td {{if $menu->d == 4}} class="basemenus2_td8Highlight" {{else}} class="basemenus2_td8" {{/if}} onclick="location.href='?p=pagemanager&t=pageb1editorworks&m={%22a%22:1,%22b%22:3,%22c%22:1,%22d%22:4}&opts={%22a%22:1}'">
                  <a href="?p=pagemanager&t=pageb1editorworks&m={%22a%22:1,%22b%22:3,%22c%22:1,%22d%22:4}&opts={%22a%22:1}">Video Editing</a>
                </td>
                <td {{if $menu->d == 5}} class="basemenus2_td8Highlight" {{else}} class="basemenus2_td8" {{/if}} onclick="location.href='?p=pagemanager&t=pageb1factoryworks&m={%22a%22:1,%22b%22:3,%22c%22:1,%22d%22:5}&opts={%22a%22:1}'">
                  <a href="?p=pagemanager&t=pageb1factoryworks&m={%22a%22:1,%22b%22:3,%22c%22:1,%22d%22:5}&opts={%22a%22:1}">Factory</a>
                </td>
              </tr>
              <tr> 
                <td colSpan="5">
                  {{if $menu->d == 3}}
                    <div align="left">
                      <table cellPadding="0" cellSpacing="0">
                        <tr>
                          <td align="left">
                            <table class="basemenus2_table4" cellPadding="0" cellSpacing="0" id="asst_tasks_menus_table"></table>
                          </td>
                        </tr>
                      </table>
                    </div>
                  {{/if}}
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </div>
  {{/if}}
  {{if $menu->b == 5}}
    <table class="basemenus2_table1" cellPadding="0" cellSpacing="0" border=0>
     <tr>
       <td {{if $menu->c == 1}}class="basemenus2_td81Highlight"{{else}} class="basemenus2_td81"{{/if}} onclick="location.href='?p=pagemanager&t=pagewageunverified&m={%22a%22:1,%22b%22:5,%22c%22:1}'">
         <a href = "?p=pagemanager&t=pagewageunverified&m={%22a%22:1,%22b%22:5,%22c%22:1}">Freelance</a>
       </td>
       <td div {{if $menu->c == 2}}class="basemenus2_td81Highlight"{{else}} class="basemenus2_td81"{{/if}} onclick="location.href='?p=pagemanager&t=pageweeklywage&m={%22a%22:1,%22b%22:5,%22c%22:2}'">
         <a href = "?p=pagemanager&t=pageweeklywage&m={%22a%22:1,%22b%22:5,%22c%22:2}">Weekly</a>
       </td>
       <td div {{if $menu->c == 3}}class="basemenus2_td81Highlight"{{else}} class="basemenus2_td81"{{/if}} onclick="location.href='?p=pagemanager&t=pagewageverified&m={%22a%22:1,%22b%22:5,%22c%22:3}'">
         <a href = "?p=pagemanager&t=pagewageverified&m={%22a%22:1,%22b%22:5,%22c%22:3}">Other</a>
       </td>
       <td class="basemenus2_td5"></td>
     <tr>
   </table>
 {{/if}}
{{/if}}



{{*/*-----------------Customers------------------------*/*}}
{{if $menu->a == 2}}
  <div align="center">
    <table class="basemenus2_tableWidth">
      <tr>
        <td {{if $menu->b == 1}}class="basemenus2_manageTaskHilight"{{else}}class="basemenus2_manageTask"{{/if}} onclick="location.href='?p=pagemanager&t=pagecustomers&m={%22a%22:2,%22b%22:1}';">
          <a href="?p=pagemanager&t=pagecustomers&m={%22a%22:2,%22b%22:1}">Manage Customers</a>
        </td>
        <!--<td {{if $menu->b == 2}}class="basemenus2_manageTaskHilight"{{else}}class="basemenus2_manageTask"{{/if}} onclick="location.href='?p=pagemanager&t=pagecustomer&m={%22a%22:2,%22b%22:2}';">
          <a href="?p=pagemanager&t=pagecustomer&m={%22a%22:2,%22b%22:2}">Add New Customer</a>
        </td>-->
        <td class=""></td>
      </tr>
    </table>
  </div>
{{/if}}

{{*/*-----------------I & E------------------------*/*}}
{{if $menu->a == 3}}
  <div align="center">
    <table class="basemenus2_tableWidth">
      <tr>
        <td {{if $menu->b == 1}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pagemanager&t=pageiecustomerall&m={%22a%22:3,%22b%22:1,%22c%22:1,%22d%22:1}';">
           <a href="?p=pagemanager&t=pageiecustomerall&m={%22a%22:3,%22b%22:1,%22c%22:1,%22d%22:1}">Income</a>
        </td>
        <td {{if $menu->b == 2}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pagemanager&t=pageexpense&m={%22a%22:3,%22b%22:2,%22c%22:1}';">
          <a href="?p=pagemanager&t=pageexpense&m={%22a%22:3,%22b%22:2,%22c%22:1}">Expense</a>
        </td>
        <td {{if $menu->b == 3}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pagemanager&t=pagesumall&m={%22a%22:3,%22b%22:3,%22c%22:1}';">
          <a href="?p=pagemanager&t=pagesumall&m={%22a%22:3,%22b%22:3,%22c%22:1}">Summarize</a>
        </td>
        <td {{if $menu->b == 4}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pagemanager&t=pagestatpackage&m={%22a%22:3,%22b%22:4,%22c%22:1}';">
          <a href="?p=pagemanager&t=pagestatpackage&m={%22a%22:3,%22b%22:4,%22c%22:1}">Statistics</a>
        </td>
        <td {{if $menu->b == 5}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pagemanager&t=pagecomparisonbymonth&m={%22a%22:3,%22b%22:5,%22c%22:1}';">
          <a href="?p=pagemanager&t=pagecomparisonbymonth&m={%22a%22:3,%22b%22:5,%22c%22:1}">Comparison</a>
        </td>
        <td class=""></td>
      </tr>
    </table>
  </div>
{{/if}}

{{*/*-----------Backend--------------------------*/*}}
{{if $menu->a == 5}}
  <div align="center">
    <table class="basemenus2_tableWidth">
      <tr>
        <td {{if $menu->b == 1}}class="basemenus2_manageTaskHilight"{{else}}class="basemenus2_manageTask"{{/if}} onclick="location.href='?p=pagemanager&t=pagebackendusers&m={%22a%22:5,%22b%22:1}';">
          <a href="?p=pagemanager&t=pagebackendusers&m={%22a%22:5,%22b%22:1}">Manage Users</a>
        </td>
        <td {{if $menu->b == 4}}class="basemenus2_manageTaskHilight"{{else}}class="basemenus2_manageTask"{{/if}} onclick="location.href='?p=pagemanager&t=pagebackendculturals&m={%22a%22:5,%22b%22:4}';">
          <a href="?p=pagemanager&t=pagebackendculturals&m={%22a%22:5,%22b%22:4}">Manage Culturals</a>
        </td>
        <td {{if $menu->b == 5}}class="basemenus2_manageTaskHilight"{{else}}class="basemenus2_manageTask"{{/if}} onclick="location.href='?p=pagemanager&t=pagebackendceremonys&m={%22a%22:5,%22b%22:5}';">
          <a href="?p=pagemanager&t=pagebackendceremonys&m={%22a%22:5,%22b%22:5}">Manage Ceremonys</a>
        </td>
        <td {{if $menu->b == 6}}class="basemenus2_manageTaskHilight"{{else}}class="basemenus2_manageTask"{{/if}} onclick="location.href='?p=pagemanager&t=pagebackendreceptions&m={%22a%22:5,%22b%22:6}';">
          <a href="?p=pagemanager&t=pagebackendreceptions&m={%22a%22:5,%22b%22:6}">Manage Receptions</a>
        </td>
        <td {{if $menu->b == 7}}class="basemenus2_manageTaskHilight"{{else}}class="basemenus2_manageTask"{{/if}} onclick="location.href='?p=pagemanager&t=pagebackendsources&m={%22a%22:5,%22b%22:7}';">
          <a href="?p=pagemanager&t=pagebackendsources&m={%22a%22:5,%22b%22:7}">Manage Sources</a>
        </td>
        <td></td>
      </tr>
      <tr>
        <td {{if $menu->b == 8}}class="basemenus2_manageTaskHilight"{{else}}class="basemenus2_manageTask"{{/if}} onclick="location.href='?p=pagemanager&t=pagebackendcontracts&m={%22a%22:5,%22b%22:8}';">
          <a href="?p=pagemanager&t=pagebackendcontracts&m={%22a%22:5,%22b%22:8}">Manage Contracts</a>
        </td>
        <td {{if $menu->b == 9}}class="basemenus2_manageTaskHilight"{{else}}class="basemenus2_manageTask"{{/if}} onclick="location.href='?p=pagemanager&t=pagebackendpayees&m={%22a%22:5,%22b%22:9}';">
          <a href="?p=pagemanager&t=pagebackendpayees&m={%22a%22:5,%22b%22:9}">Manage Payees</a>
        </td>
        <td {{if $menu->b == 10}}class="basemenus2_manageTaskHilight"{{else}}class="basemenus2_manageTask"{{/if}} onclick="location.href='?p=pagemanager&t=pagebackendparticulars&m={%22a%22:5,%22b%22:10}';">
          <a href="?p=pagemanager&t=pagebackendparticulars&m={%22a%22:5,%22b%22:10}">Manage Particulars</a>
        </td>
        <td></td>
      </tr>
    </table>
  </div>
{{/if}}
  
{{if $menu->a == 6}}
  <div align="center">
    <table class="basemenus2_tableWidth">
      <tr>
        <td  {{if $menu->b == 1}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pagemanager&t=pagewakkanoworkingdate&m={%22a%22:6,%22b%22:1}';">
          <a href="?p=pagemanager&t=pagewakkanoworkingdate&m={%22a%22:6,%22b%22:1}">No Wedding Day</a>
        </td>
        <td {{if $menu->b == 2}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pagemanager&t=pagepaymentfirst1&m={%22a%22:6,%22b%22:2,%22c%22:1,%22d%22:1}';">
           <a href="?p=pagemanager&t=pagepaymentfirst1&m={%22a%22:6,%22b%22:2,%22c%22:1,%22d%22:1}">Receipt Issue</a>
        </td>
        <td {{if $menu->b == 3}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pagemanager&t=pageb1payment&m={%22a%22:6,%22b%22:3,%22e%22:1}';">
           <a href="?p=pagemanager&t=pageb1payment&m={%22a%22:6,%22b%22:3,%22e%22:1}">Misc</a>
        </td>
        <td {{if $menu->b == 4}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pagemanager&t=pageweddingwithintwomonths&m={%22a%22:6,%22b%22:4}';">
           <a href="?p=pagemanager&t=pageweddingwithintwomonths&m={%22a%22:6,%22b%22:4}">Wedding Within 2 Months</a>
        </td> 
        <td {{if $menu->b == 5}} class="basemenus2_manageTaskHilight" {{else}} class="basemenus2_manageTask" {{/if}} onclick="location.href='?p=pagemanager&t=pageweddingwithintwomonths&m={%22a%22:6,%22b%22:5}';">
           <a href="?p=pagemanager&t=pageweddingwithintwomonths&m={%22a%22:6,%22b%22:5}">Wedding Within 3 Weeks</a>
        </td>                        
        <td class="">
        </td>
      </tr>
    </table>
  </div>
  {{if $menu->b == 2}}
    <div>
      <table class="basemenus2_table3" >
        <tr>
          <td {{if $menu->c == 1}} class="basemenus2_td8Highlight" {{else}} class="basemenus2_td8" {{/if}} onclick="location.href='?p=pagemanager&t=pagepaymentfirst1&m={%22a%22:6,%22b%22:2,%22c%22:1,%22d%22:1}'">
            <a href="?p=pagemanager&t=pagepaymentfirst1&m={%22a%22:6,%22b%22:2,%22c%22:1,%22d%22:1}">1st Receipt</a>
          </td>
          <td {{if $menu->c == 2}} class="basemenus2_td8Highlight" {{else}} class="basemenus2_td8" {{/if}} onclick="location.href='?p=pagemanager&t=pagepaymentsecond1&m={%22a%22:6,%22b%22:2,%22c%22:2,%22d%22:1}'">
            <a href="?p=pagemanager&t=pagepaymentsecond1&m={%22a%22:6,%22b%22:2,%22c%22:2,%22d%22:1}">2nd Receipt</a>
          </td>
          <td {{if $menu->c == 3}} class="basemenus2_td8Highlight" {{else}} class="basemenus2_td8" {{/if}} onclick="location.href='?p=pagemanager&t=pagepaymentthird1&m={%22a%22:6,%22b%22:2,%22c%22:3,%22d%22:1}'">
            <a href="?p=pagemanager&t=pagepaymentthird1&m={%22a%22:6,%22b%22:2,%22c%22:3,%22d%22:1}">3rd Receipt</a>
          </td>
          <td {{if $menu->c == 4}} class="basemenus2_td81Highlight" {{else}} class="basemenus2_td81" {{/if}} onclick="location.href='?p=pagemanager&t=pagepaymentforth&m={%22a%22:6,%22b%22:2,%22c%22:4,%22d%22:1}'">
            <a href="?p=pagemanager&t=pagepaymentforth&m={%22a%22:6,%22b%22:2,%22c%22:4,%22d%22:1}">4th Receipt</a>
          </td>
          <td class=""></td>
        </tr>
      </table>
      {{if $menu->c == 1}} 
        <div>
          <table style="width:{{$smarty.const.PAGE_WIDTH|escape:'html'}}" cellPadding="0" cellSpacing="0">
            <tr>
              <td align="left">
                <table class="basemenus2_table21" cellPadding="0" cellSpacing="0" border=0>
                  <tr style=background-color:#e6ede7>
                     <td {{if $menu->d == 5}} class="basemenus2_td9Highlight" {{else}} class="basemenus2_td9" {{/if}} onclick="location.href='?p=pagemanager&t=pagepaymentno&m={%22a%22:6,%22b%22:2,%22c%22:1,%22d%22:5}'">
                      <a href="?p=pagemanager&t=pagepaymentno&m={%22a%22:6,%22b%22:2,%22c%22:1,%22d%22:5}">No payment<span id="admin_payments_no_span"></span></a>
                    </td>
                    <td {{if $menu->d == 1}} class="basemenus2_td9Highlight" {{else}} class="basemenus2_td9" {{/if}} onclick="location.href='?p=pagemanager&t=pagepaymentfirst1&m={%22a%22:6,%22b%22:2,%22c%22:1,%22d%22:1}'">
                      <a href="?p=pagemanager&t=pagepaymentfirst1&m={%22a%22:6,%22b%22:2,%22c%22:1,%22d%22:1}">deposit less than 10%<span id="admin_payments_first1_span"></span></a>
                    </td>
                    <td {{if $menu->d == 2}} class="basemenus2_td9Highlight" {{else}} class="basemenus2_td9" {{/if}} onclick="location.href='?p=pagemanager&t=pagepaymentfirst2&m={%22a%22:6,%22b%22:2,%22c%22:1,%22d%22:2}'">
                      <a href="?p=pagemanager&t=pagepaymentfirst2&m={%22a%22:6,%22b%22:2,%22c%22:1,%22d%22:2}">wedding within 1 month without deposit<span id="admin_payments_second1_span"></span></a>
                    </td>
                    <td {{if $menu->d == 3}} class="basemenus2_td9Highlight" {{else}} class="basemenus2_td9" {{/if}} onclick="location.href='?p=pagemanager&t=pagepaymentfirst3&m={%22a%22:6,%22b%22:2,%22c%22:1,%22d%22:3}'">
                      <a href="?p=pagemanager&t=pagepaymentfirst3&m={%22a%22:6,%22b%22:2,%22c%22:1,%22d%22:3}">wedding within 1 week without deposit<span id="admin_payments_third1_span"></span></a>
                    </td>
                    <td {{if $menu->d == 4}} class="basemenus2_td9Highlight" {{else}} class="basemenus2_td9" {{/if}} onclick="location.href='?p=pagemanager&t=pagepaymentfirst4&m={%22a%22:6,%22b%22:2,%22c%22:1,%22d%22:4}'">
                      <a href="?p=pagemanager&t=pagepaymentfirst4&m={%22a%22:6,%22b%22:2,%22c%22:1,%22d%22:4}">over wedding date without deposit<span id="admin_payments_forth1_span"></span></a>
                    </td>

                  </tr>
                </table>
              </td>
            </tr>
          </table>
        </div>
      {{/if}}
      {{if $menu->c == 2}} 
        <div align="center">
          <table style="width:{{$smarty.const.PAGE_WIDTH|escape:'html'}}" cellPadding="0" cellSpacing="0">
            <tr>
              <td align="left">
                <table class="basemenus2_table21" cellPadding="0" cellSpacing="0" border=0>
                  <tr style=background-color:#e6ede7>
                    <td {{if $menu->d == 1}} class="basemenus2_td9Highlight" {{else}} class="basemenus2_td9" {{/if}} onclick="location.href='?p=pagemanager&t=pagepaymentsecond1&m={%22a%22:6,%22b%22:2,%22c%22:2,%22d%22:1}'">
                      <a href="?p=pagemanager&t=pagepaymentsecond1&m={%22a%22:6,%22b%22:2,%22c%22:2,%22d%22:1}">wedding within 1 week without 2nd payment<span id="admin_payments_first2_span"></span></a>
                    </td>
                    <td {{if $menu->d == 2}} class="basemenus2_td9Highlight" {{else}} class="basemenus2_td9" {{/if}} onclick="location.href='?p=pagemanager&t=pagepaymentsecond2&m={%22a%22:6,%22b%22:2,%22c%22:2,%22d%22:2}'">
                       <a href="?p=pagemanager&t=pagepaymentsecond2&m={%22a%22:6,%22b%22:2,%22c%22:2,%22d%22:2}">over wedding date without 2nd payment<span id="admin_payments_second2_span"></span></a>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
        </div>
      {{/if}}
      {{if $menu->c == 3}} 
        <div align="center">
          <table style="width:{{$smarty.const.PAGE_WIDTH|escape:'html'}}" cellPadding="0" cellSpacing="0">
            <tr>
              <td align="left">
                <table class="basemenus2_table21" cellPadding="0" cellSpacing="0" border=0>
                  <tr style=background-color:#e6ede7>
                    <td {{if $menu->d == 1}} class="basemenus2_td9Highlight" {{else}} class="basemenus2_td9" {{/if}} onclick="location.href='?p=pagemanager&t=pagepaymentthird1&m={%22a%22:6,%22b%22:2,%22c%22:3,%22d%22:1}'">
                      <a href="?p=pagemanager&t=pagepaymentthird1&m={%22a%22:6,%22b%22:2,%22c%22:3,%22d%22:1}">Wedding over 1 month but not pick up CD<span id="admin_payments_first3_span"></span></a>
                    </td>
                    <td {{if $menu->d == 2}} class="basemenus2_td9Highlight" {{else}} class="basemenus2_td9" {{/if}} onclick="location.href='?p=pagemanager&t=pagepaymentthird2&m={%22a%22:6,%22b%22:2,%22c%22:3,%22d%22:2}'">
                      <a href="?p=pagemanager&t=pagepaymentthird2&m={%22a%22:6,%22b%22:2,%22c%22:3,%22d%22:2}">pick up CD without 3rd payment<span id="admin_payments_second3_span"></span></a>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
        </div>
      {{/if}}
      {{if $menu->c == 4}} 
        <div align="center">
          <table style="width:{{$smarty.const.PAGE_WIDTH|escape:'html'}}" cellPadding="0" cellSpacing="0">
            <tr>
              <td align="left">
                <table class="basemenus2_table21" cellPadding="0" cellSpacing="0" border=0>
                  <tr style=background-color:#e6ede7>
                    <td {{if $menu->d == 1}} class="basemenus2_td9Highlight" {{else}} class="basemenus2_td9" {{/if}} onclick="location.href='?p=pagemanager&t=pagepaymentforth&m={%22a%22:6,%22b%22:2,%22c%22:4,%22d%22:1}'">
                      <a href="?p=pagemanager&t=pagepaymentforth&m={%22a%22:6,%22b%22:2,%22c%22:4,%22d%22:1}">Pick up all products with unsettled debts<span id="admin_payments_first4_span"></span></a>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
        </div>
      {{/if}}
    </div>
  {{/if}}
  {{if $menu->b == 3}}
    <div style="margin-bottom:20px;">
      <table class="basemenus2_table3">
        <tr>
          <td {{if $menu->e == 1}} class="basemenus2_td81Highlight" {{else}} class="basemenus2_td81" {{/if}} onclick="location.href='?p=pagemanager&t=pageb1payment&m={%22a%22:6,%22b%22:3,%22e%22:1}'">
            <a href="?p=pagemanager&t=pageb1payment&m={%22a%22:6,%22b%22:3,%22e%22:1}">Late Receipt</a>
          </td>
          <td {{if $menu->e == 2}} class="basemenus2_td81Highlight" {{else}} class="basemenus2_td81" {{/if}} onclick="location.href='?p=pagemanager&t=pageb1orderdiscount&m={%22a%22:6,%22b%22:3,%22e%22:2}'">
            <a href="?p=pagemanager&t=pageb1orderdiscount&m={%22a%22:6,%22b%22:3,%22e%22:2}">Over Discount</a>
          </td>
          <td {{if $menu->e == 3}} class="basemenus2_td81Highlight" {{else}} class="basemenus2_td81" {{/if}} onclick="location.href='?p=pagemanager&t=pageb1asstworks&m={%22a%22:6,%22b%22:3,%22c%22:1,%22d%22:1,%22e%22:3}&opts={%22a%22:1}'">
            <a href="?p=pagemanager&t=pageb1asstworks&m={%22a%22:6,%22b%22:3,%22c%22:1,%22d%22:1,%22e%22:3}&opts={%22a%22:1}">Deadline < - 3</a>
          </td>
          <td class=""></td>
        </tr>
      </table>
    </div>
  {{/if}}
{{/if}}  